package org.ssp.dao;

import java.util.ArrayList;

import org.ssp.pojo.News;

public interface NewsDao {
	public abstract void addNews(News news);
	public abstract void deleteNews(int id);
	public abstract void updateNews(News news);
	public abstract ArrayList<News> findAll(int offset,int rows);
	public abstract int findAll();
	public abstract ArrayList<News> find10(int offset,int rows);
	public abstract News findById(int id);
	public abstract ArrayList<News> findAllMobile();
	
	
	public abstract String getContent(int id);//手机端news详情
	
	


}
